export const useMenuConfigStore = defineStore('menuConfig', () => {
  const siderMenuWidth = ref(200) //侧栏菜单宽度
  const siderMenuCollapsedWidth = ref(60) //侧栏菜单折叠后宽度
  const siderMenuCollapsed = ref(false) //侧栏菜单是否折叠
  const siderMenuIconIndent = ref(24) //侧栏菜单图标缩进宽度
  const siderMenuOpenOnlyOne = ref(true) //侧栏菜单项选中时折叠其他项

  return {
    siderMenuWidth,
    siderMenuCollapsedWidth,
    siderMenuCollapsed,
    siderMenuIconIndent,
    siderMenuOpenOnlyOne,
  }
})
